﻿namespace Traffic.Entity;

/// <summary>
/// 机票订单乘客航段
/// </summary>
public partial class FlightOrderListPsgSegment
{
    public int Id { get; set; }

    public int OrderId { get; set; }

    /// <summary>
    /// 对应FlightOrderList_Passenger.ID
    /// </summary>
    public int PsgId { get; set; }

    /// <summary>
    /// 航班号	
    /// </summary>
    public string? FlightNo { get; set; }

    /// <summary>
    /// 航班日期	
    /// </summary>
    public DateTime? DepDate { get; set; }

    /// <summary>
    /// 抵达日期
    /// </summary>
    public DateTime? ArrDate { get; set; }

    /// <summary>
    /// 出发机场三字码	
    /// </summary>
    public string? DepAirportCode { get; set; }

    /// <summary>
    /// 出发机场名称	
    /// </summary>
    public string? DepAirportName { get; set; }

    /// <summary>
    /// 到达机场三字码	
    /// </summary>
    public string? ArrAirportCode { get; set; }

    /// <summary>
    /// 到达机场名称	
    /// </summary>
    public string? ArrAirportName { get; set; }

    /// <summary>
    /// 舱位代码	
    /// </summary>
    public string? CabinCode { get; set; }

    /// <summary>
    /// 票号
    /// </summary>
    public string? TicketNumber { get; set; }

    /// <summary>
    /// 航段状态   0：作废  1：正常  2：已乘   3：更改  4：退票
    /// </summary>
    public int SegState { get; set; }

    /// <summary>
    /// 政策ID
    /// </summary>
    public string? PolicyId { get; set; }

    /// <summary>
    /// 政策信息
    /// </summary>
    public string? PolicyData { get; set; }

    /// <summary>
    /// 状态  0：作废  1：正常（默认）
    /// </summary>
    public bool Status { get; set; }
}
